home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10887 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: doc.ic.ac.uk!usenet
  2. From: Shamimabi Paurobally <sp1@doc.ic.ac.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: lex,yacc , makefile
  5. Date: 20 Mar 1996 17:22:37 GMT
  6. Organization: Dept. of Computing, Imperial College, University of London, UK.
  7. Message-ID: <4ipest$iv2@frigate.doc.ic.ac.uk>
  8. NNTP-Posting-Host: oak76.doc.ic.ac.uk
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.1N (X11; I; SunOS 4.1.3_U1 sun4m)
  13. X-URL: news:comp.lang.c
  14.  
  15. Hi,
  16.  
  17. I am trying to learn how to translate programs using lex and yacc . I am trying
  18. to write a simple calculator but it doesnot seem to work ... can u tell me how
  19. lex and yacc interact with each other? can u send me a program to show this .
  20.  
  21. also what is the usual format of a makefile , and that when using lex and yacc.
  22.  
  23. how do u force yacc to generate .h file in addition to the .c file ?
  24. thanx 
  25. shamima
  26. -- 
  27.  
  28.               
  29. **********************************************************************************
  30.  
  31.  
  32. In War : Resolution.
  33.     In Defeat: Defiance.
  34.     In Victory : Magnanimity.
  35.        In Peace : Good Will.
  36.  
  37.  
  38. On Since: 16 December 1537 BC 10:00 (Mauritian time) on ttypXX from 
  39.     Curepipe29:0.0
  40. Unread mail since dawn
  41. New mail received at dusk
  42. Project: Smile, Sleep , Sing  and be happy
  43.  
  44.  
  45. **********************************************************************************
  46.  
  47.